var htmpWebpackPlugin =require('html-webpack-plugin');
module.exports={
    context: __dirname,
    entry:{
        myVue:'./src/script/myVue.1.0.0.js',
        zzl_plug:'./src/script/zzl-plug.js'
    },
    output: {
        path: __dirname+"/dist",
        filename: "js/[name].js"
    },
    plugins: [
        new htmpWebpackPlugin({
            template:'index.html',
            inject:'body'
        })
    ]
}